package org.sun.sunshine.intercept;


import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.HandlerInterceptor;

@Slf4j
public class FeignRequestHandler implements HandlerInterceptor {
    Logger logger= LoggerFactory.getLogger(FeignRequestHandler.class);
    @Override
    public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) {
        //logger.info("FeignRequestHandler preHandle {}", request.getHeader("myhead"));
        return true;
    }
}
